package com.tbit.uqbike.client.dao.log;

import com.tbit.uqbike.client.pojo.ReturnBikeMsgLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 还车数据分析日志
 *
 * @Author:BUGTian
 * @DATE: 2023/5/31
 */
public interface ReturnBikeMsgLogDao {
    /**
     * 插入日志
     *
     * @param returnBikeMsgLog
     */
    void insert(ReturnBikeMsgLog returnBikeMsgLog);

    /**
     * 批量插入日志
     *
     * @param list
     */
    void insertBatch(List<ReturnBikeMsgLog> list);

    /**
     * 根据订单号查询实际还车点
     *
     * @param orderNO
     * @return
     */
    ReturnBikeMsgLog selectActualLog(@Param("orderNO") String orderNO);
}
